Skip to content

bpo-36352: Avoid hardcoded MAXPATHLEN size in getpath.c#12423

Merged
vstinner merged 4 commits intopython:masterfrom
vstinner:joinpath
Mar 19, 2019
Merged

bpo-36352: Avoid hardcoded MAXPATHLEN size in getpath.c#12423
vstinner merged 4 commits intopython:masterfrom
vstinner:joinpath

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Mar 19, 2019

  • Use Py_ARRAY_LENGTH() rather than hardcoded MAXPATHLEN in getpath.c
  • Pass string length to functions modifying strings

https://bugs.python.org/issue36352

* Use Py_ARRAY_LENGTH() rather than hardcoded MAXPATHLEN in getpath.c
* Pass string length to functions modifying strings
@vstinner vstinner merged commit faddaed into python:master Mar 19, 2019
@vstinner vstinner deleted the joinpath branch March 19, 2019 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants